<?php /* Smarty version Smarty-3.0.8, created on 2011-07-16 18:53:42
         compiled from "./templates/tattoo\galerija_single.tpl" */ ?>
<?php /*%%SmartyHeaderCode:321184e21de36ac1500-33497119%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5aba2c24f8d01e27542da48cadc6683362c3bebe' => 
    array (
      0 => './templates/tattoo\\galerija_single.tpl',
      1 => 1310842170,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '321184e21de36ac1500-33497119',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="page">
		
		<div class="sidebar_page">
			<div class="content">
				<!--Galleries-->
				<div id="preview">
					<div class="page_capt clearfix">
						<div class="fl_left">
							<h2>Galerija</h2>
							<h3><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil"><?php echo $_smarty_tpl->getVariable('single_photo')->value['username'];?>
</a></h3>
						</div>
						<div class="fl_right gallery_opt">
							<div class="gallery_creative">
								<a class="flip_img" href="#" rel="noindex,nofollow" title="Kliknite za sliku u ogledalu">Flip Image</a>
								<a class="bw_img" href="#" rel="noindex,nofollow" title="Kliknite za crno-belu sliku">Black-White</a>
								<a class="col_img" href="#" rel="noindex,nofollow" title="Kliknite za sliku u boji">Color</a>
							<?php if ($_smarty_tpl->getVariable('userIsLogged')->value){?>
								<a class="crop_img" href="#" rel="noindex,nofollow" title="Označite deo slike">Crop</a>
							 <?php }?>
								<a class="full_img" href="#" rel="noindex,nofollow" title="Prikaži sliku preko celog ekrana">Full Screen</a>
								<a class="info_img modal_cont" href="#image_info_box" rel="noindex,nofollow" title="Informacije o slici">Image Info</a>
								<a class="link_img modal_cont" href="#image_link_box" title="Prikaži link za sliku">Image Link</a>
								<a class="fb_img" href="#" title="Postavi sliku na Facebook" target="_blank">Share to Facebook</a>
								<a class="like_img" href="#" rel="noindex,nofollow" title="Like">Like</a>
							</div>
							<div class="gallery_bgr">
								<span>Pozadina:</span>
								<a id="color1" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color2" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color3" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color4" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color5" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color6" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color7" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color8" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color9" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
								<a id="color10" href="#" rel="noindex,nofollow" title="Kliknite za promenu boje pozadine"></a>
							</div>
						</div>
					</div>
					
					<div class="clearfix screen_gall">	
						
						<div class="img_wrapper">
							<div class="img_holder">
								<a href="#"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/" alt="Slika" longdesc="Demo" /></a>
							</div>
						</div>
						
						<div class="gallery_nav">
							<div class="thumb_nav">
								<div class="prev"></div><div class="next"></div>
							</div>
							<div class="thumb_wrapper">
								<div class="thumb_holder">
                                                                    <?php  $_smarty_tpl->tpl_vars['thumb'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('other_photos')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['thumb']->key => $_smarty_tpl->tpl_vars['thumb']->value){
?>
									<a href="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['thumb']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['thumb']->value['slika'];?>
" id="<?php echo $_smarty_tpl->tpl_vars['thumb']->value['id'];?>
"><img src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/thumbs/<?php echo $_smarty_tpl->tpl_vars['thumb']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['thumb']->value['slika'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['thumb']->value['slika'];?>
" longdesc="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/<?php echo $_smarty_tpl->getVariable('media')->value;?>
/autori/<?php echo $_smarty_tpl->tpl_vars['thumb']->value['username'];?>
/<?php echo $_smarty_tpl->tpl_vars['thumb']->value['slika'];?>
" /></a>
                                                                    <?php }} ?>
									<!--a href=main image path; img src=thumb path; img longdesc=big(zoom) image path-->
								</div>
							</div>
						</div>
						
					</div><!--end of .screen_gall-->
				</div>

				
				<!-- Page bottom blocks -->
				<div class="cols3spanL" id="botom_boxes">
					<div class="col">
						<div id="comments">
							<h2>Komentari</h2>
                                                        <p>Ukupno <span>2</span> komentara.</p>
							<ul>
								<li class="clearfix" id="comment-id-">
									<img class="fl_left" src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/images/user_img.png" width="40" height="40" />
									<span><a class="comment_aut" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil">archy</a> </span>Evo kad vas neko pita da li boli prosledite mu ovaj link -)
									<div>2011-03-14 | 18:12</div>
								</li>
								<li class="clearfix" id="comment-id-">
									<img class="fl_left" src="<?php echo $_smarty_tpl->getVariable('media')->value;?>
/images/user_img.png" width="40" height="40" />
									<span><a class="comment_aut" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=profil">archy</a> </span>Označio sam deo za prepravku ovde <a class="mark_area" href="260,362,315,442">{deo slike}</a>
									<div>2011-03-14 | 18:12</div>
								</li>
							</ul>
							<h2 id="addCommentPage">Dodajte komentar</h2>
						<?php if ($_smarty_tpl->getVariable('userIsLogged')->value){?>
							<form id="comments_form" name="comments_form" action="handlers/hgalerija_single.php" method="post">
								<div class="comment_tools">
									<a class="emotions smile1" href="1" rel="noindex,nofollow">smile1</a>
									<a class="emotions smile2" href="2" rel="noindex,nofollow">smile2</a>
									<a class="emotions smile3" href="3" rel="noindex,nofollow">smile3</a>
									<a class="emotions smile4" href="3" rel="noindex,nofollow">smile4</a>
									<a class="emotions smile5" href="3" rel="noindex,nofollow">smile5</a>
									<a class="emotions smile6" href="3" rel="noindex,nofollow">smile6</a>
									<a class="emotions smile7" href="3" rel="noindex,nofollow">smile7</a>
									<a class="comment_ico ins_area" href="#" rel="noindex,nofollow" title="Ubaci označen deo slike">Marked Area</a>
								</div>
								<label for="comment_content">Komentar:</label><br />
                                                                <input type="hidden" id="photo_id" name="photo_id" value="" />
                                                                <input type="hidden" id="action" name="action" value="comment" />
                                                                <input type="hidden" id="username" name="username" value="<?php echo $_smarty_tpl->getVariable('user')->value['username'];?>
" />
								<textarea id="comment_content" name="comment_content" cols="" rows="4"></textarea>
								<p class="tRight"><input id="comment_submit" name="comment_submit" type="submit" value="Dodaj komentar" /></p>
							</form>
						<?php }else{ ?>
							<h3>Ulogujte se kako bi dodali komentar. Hvala.</h3>
							<br />
							<p><a class="red" href="#account_box">Prijavi se</a> | <a class="red" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=registracija">Registruj se</a></p>	
						<?php }?>
						</div>
					</div>
					<div class="col"><?php $_template = new Smarty_Internal_Template("chat.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
				</div>
				
			</div>
			<!--Content end (.content)-->
			<div class="sidebar"><?php $_template = new Smarty_Internal_Template("sidebar_banners.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
		</div>
		<!--Page content end (.sidebar_page)-->
	</div>
	